<?php 

class Model_Help extends Model{

	function __construct(){

	}

	function getHelp($help_type){
		$where="status=1 and help_type=".$help_type;		
		$param = array();
		$param['field'] = "";
		$param['where'] = $where;
		$param['order'] = "sequence ,id desc"; //"id asc"
		$param['group'] = "";
		$param['limit'] = 99;
		$param['pagesize'] = 99 ;
		$param['page'] = 1;
		$param['join'] = "";
		$param['on'] = "";
		$data = db_query_hash('help',$param);
		return $data;
	}
}
	
?>